Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

#!/bin/zsh
# Define color codes
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
RESET="\033[0m"
# Define arrays to track installed and failed apps
@brunobertolini
brunobertolini / wizard.md
Last active May 24, 2026 21:10
Dogfood Loop — paste-and-go wizard for Claude Code (autonomous browser-exploration + auto-fix loop)

DOGFOOD LOOP SETUP WIZARD

You are a setup wizard for an autonomous browser-exploration loop. Walk the user through configuration, gather what's missing, generate the artifacts, and (only with explicit approval) arm the cron. Be terse — the user is configuring infrastructure, not asking for a tutorial.

STEP 0 — Acknowledge Print one short line: "Setting up dogfood loop. Detecting project..." Proceed to STEP 1 without waiting.

STEP 1 — Discovery (parallel Bash, one tool-use block) Run these in parallel:

@nxrighthere
nxrighthere / Unreal-AgX-Tonemapper.usf
Last active May 24, 2026 21:05
AgX tonemapping for Unreal Engine 5
// See image comparison https://imgur.com/a/9L2P7GJ
// Read details https://iolite-engine.com/blog_posts/minimal_agx_implementation
// Usage:
// 1. Open "Project Settings" and change "Working Color Space" to "sRGB / Rec709"
// 2. Open `Engine\Shaders\Private\PostProcessTonemap.usf` file
// 3. Find `half3 OutDeviceColor = ColorLookupTable(FinalLinearColor);` line
// 4. Replace it with `half3 OutDeviceColor = ApplyAgX(FinalLinearColor);` line
// 5. Find `half3 ColorLookupTable( half3 LinearColor )` function
// 6. After the scope of the function, add the code below and run `RecompileShaders Changed` from console
@Amzi-01
Amzi-01 / FiveM_Linux_development_workflow.md
Last active May 24, 2026 21:04
FiveM development workflow tutorial for Linux

FiveM development workflow tutorial for Linux

Please note you will still need a VM/Windows Pc to compile the custom FiveM Client but only once

IMPORTANT NOTE: THE CUSTOM FIVEM CLIENT ONLY WORKS ON LOCAL SERVERS AND CAN NOT BE USED TO CONNECT TO NORMAL FIVEM SERVERS! THIS CLIENT IS PURELY FOR TESTING ASSETS INGAME NOT FOR PLAYING FIVEM

Special thanks to Gogsi for helping me with his custom version of the fiveM client, all credit for the client goes to him enter image description here

Quick note to CFX:

@Brajesh2022
Brajesh2022 / Running Antigravity CLI on Termux.md
Last active May 24, 2026 21:01
Working setup for running Antigravity CLI (agy) natively on Android Termux without proot-distro, VMs, or Cloud Shell. Fixes 7 compatibility issues: TCMalloc 39-bit VA, faccessat2 syscall, glibc libc.so shim, LD_PRELOAD pollution, DNS resolver, TLS certificates, and shell hash caching. Includes a reusable pattern-based binary patch script (patch_…

This document describes the working setup for running the native Antigravity CLI (agy) on Android Termux.

The main goal is to run the official Linux ARM64 Antigravity binary directly from Termux without Cloud Shell, without a full VM, and without replacing Android. The setup uses a small binary patch plus a wrapper that adapts the Linux/glibc binary to Termux's Android environment.

The method is designed to be repeatable for future Antigravity releases. The patch script scans instruction patterns instead of relying on fixed offsets. If Antigravity changes its allocator code generation in the future, the script will print warning counts instead of silently claiming success.

What This Fixes

Antigravity's Linux ARM64 binary can fail on Termux for multiple independent reasons.

@aparente
aparente / SKILL.md
Last active May 24, 2026 20:47
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

@jetfir3
jetfir3 / download_fusion.sh
Last active May 24, 2026 20:45
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without a Broadcom account.
#
# This script allows you to download various versions of VMware Fusion
# from Broadcom's Cloudflare CDN (versions 8.0.0 to 13.6.3)
# or from the archive.org VMware Workstation archive (versions 8.x.x+).
#
# Options:
# -k: Keep the downloaded file compressed (Cloudflare only; ignored for archive.org).